.class public Lcom/xingbook/ui/ak;
.super Landroid/view/ViewGroup;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/ui/x;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field public a:Z

.field b:Lcom/xingbook/ui/ad;

.field c:Lcom/xingbook/ui/ad;

.field d:Lcom/xingbook/ui/ad;

.field e:Lcom/xingbook/ui/ad;

.field public f:Lcom/xingbook/ui/af;

.field public g:Lcom/xingbook/ui/t;

.field public h:Lcom/xingbook/ui/an;

.field private i:Landroid/webkit/WebView;

.field private j:Lcom/xingbook/ui/ao;

.field private final k:Lcom/xingbook/ui/ad;

.field private final l:Landroid/widget/ProgressBar;

.field private m:Z

.field private n:Z

.field private o:Ljava/lang/String;

.field private p:Ljava/lang/String;

.field private q:Lcom/xingbook/ui/ab;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/ui/ao;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 13
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SetJavaScriptEnabled",
            "NewApi"
        }
    .end annotation

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {p0, v1}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;)V

    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/xingbook/ui/ak;->a:Z

    const/4 v1, 0x0

    iput-boolean v1, p0, Lcom/xingbook/ui/ak;->m:Z

    const/4 v1, 0x0

    iput-boolean v1, p0, Lcom/xingbook/ui/ak;->n:Z

    new-instance v1, Lcom/xingbook/ui/an;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/an;-><init>(Lcom/xingbook/ui/ak;)V

    iput-object v1, p0, Lcom/xingbook/ui/ak;->h:Lcom/xingbook/ui/an;

    iput-object p2, p0, Lcom/xingbook/ui/ak;->j:Lcom/xingbook/ui/ao;

    move-object/from16 v0, p5

    iput-object v0, p0, Lcom/xingbook/ui/ak;->o:Ljava/lang/String;

    move-object/from16 v0, p7

    iput-object v0, p0, Lcom/xingbook/ui/ak;->p:Ljava/lang/String;

    invoke-static {p1}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v7

    invoke-static {p1}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v8

    invoke-static {p1}, Lcom/xingbook/c/n;->d(Landroid/app/Activity;)I

    move-result v9

    const/4 v1, -0x1

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->setBackgroundColor(I)V

    new-instance v1, Lcom/xingbook/ui/t;

    invoke-direct {v1, p1, p0}, Lcom/xingbook/ui/t;-><init>(Landroid/app/Activity;Lcom/xingbook/ui/x;)V

    iput-object v1, p0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    move/from16 v0, p3

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/t;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    move-object/from16 v0, p4

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/t;->setTitle(Ljava/lang/String;)V

    if-eqz p6, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    move-object/from16 v0, p6

    iput-object v0, v1, Lcom/xingbook/ui/t;->d:Ljava/lang/String;

    :cond_0
    iget-object v1, p0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    const/4 v2, 0x0

    const/4 v3, 0x0

    sget v4, Lcom/xingbook/ui/t;->b:I

    invoke-virtual {v1, v2, v3, v8, v4}, Lcom/xingbook/ui/t;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/webkit/WebView;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    iget-object v10, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    new-instance v1, Lcom/xingbook/ui/al;

    move-object v2, p0

    move-object v3, p2

    move-object v4, p1

    move-object/from16 v5, p7

    move-object/from16 v6, p6

    invoke-direct/range {v1 .. v6}, Lcom/xingbook/ui/al;-><init>(Lcom/xingbook/ui/ak;Lcom/xingbook/ui/ao;Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v10, v1}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    new-instance v2, Lcom/xingbook/ui/am;

    invoke-direct {v2, p0}, Lcom/xingbook/ui/am;-><init>(Lcom/xingbook/ui/ak;)V

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    invoke-virtual {v1}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    const/4 v2, -0x1

    invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setCacheMode(I)V

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setAppCacheEnabled(Z)V

    sget-object v2, Lcom/xingbook/c/c;->G:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setAppCachePath(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    const/4 v3, 0x0

    const/high16 v1, -0x100

    and-int v1, v1, p3

    if-nez v1, :cond_1

    const/4 v1, 0x0

    :goto_0
    invoke-virtual {v2, v3, v1, v8, v9}, Landroid/webkit/WebView;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    invoke-virtual {v1}, Lcom/xingbook/ui/t;->bringToFront()V

    new-instance v1, Lcom/xingbook/ui/ad;

    invoke-direct {v1, p1}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    const/high16 v2, -0x1

    iput v2, v1, Lcom/xingbook/ui/ad;->i:I

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    const/4 v2, -0x1

    iput v2, v1, Lcom/xingbook/ui/ad;->b:I

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    const/high16 v2, 0x4290

    mul-float/2addr v2, v7

    iput v2, v1, Lcom/xingbook/ui/ad;->c:F

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    const v2, -0xff9934

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    const/4 v2, 0x0

    const/high16 v3, 0x42f0

    mul-float/2addr v3, v7

    invoke-static {v3}, Ljava/lang/Math;->round(F)I

    move-result v3

    sub-int v3, v9, v3

    invoke-virtual {v1, v2, v3, v8, v9}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    invoke-virtual {v1, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/ProgressBar;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    const/4 v3, 0x0

    const v4, 0x101007a

    invoke-direct {v1, v2, v3, v4}, Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    iput-object v1, p0, Lcom/xingbook/ui/ak;->l:Landroid/widget/ProgressBar;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->l:Landroid/widget/ProgressBar;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->l:Landroid/widget/ProgressBar;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    const/high16 v1, 0x42c0

    mul-float/2addr v1, v7

    iget-object v2, p0, Lcom/xingbook/ui/ak;->l:Landroid/widget/ProgressBar;

    int-to-float v3, v8

    sub-float/2addr v3, v1

    const/high16 v4, 0x4000

    div-float/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Math;->round(F)I

    move-result v4

    sget v5, Lcom/xingbook/ui/t;->b:I

    sub-int v5, v9, v5

    int-to-float v5, v5

    sub-float/2addr v5, v1

    const/high16 v6, 0x4000

    div-float/2addr v5, v6

    invoke-static {v5}, Ljava/lang/Math;->round(F)I

    move-result v6

    add-float/2addr v3, v1

    invoke-static {v3}, Ljava/lang/Math;->round(F)I

    move-result v3

    add-float/2addr v1, v5

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v1

    invoke-virtual {v2, v4, v6, v3, v1}, Landroid/widget/ProgressBar;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->l:Landroid/widget/ProgressBar;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    const/4 v1, 0x0

    iput-boolean v1, p0, Lcom/xingbook/ui/ak;->n:Z

    const/high16 v1, 0x42c8

    mul-float/2addr v1, v7

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v10

    const/high16 v1, 0x41a0

    mul-float/2addr v1, v7

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v11

    const/high16 v1, 0x41a0

    mul-float/2addr v1, v7

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v12

    const/high16 v1, 0x4396

    mul-float/2addr v1, v7

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v1

    new-instance v2, Lcom/xingbook/ui/ad;

    invoke-direct {v2, p1}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    iget-object v2, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    const/16 v3, 0xa

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/ad;->setId(I)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {v2, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    const/4 v3, 0x0

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4, v8, v9}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    new-instance v2, Lcom/xingbook/ui/ad;

    invoke-direct {v2, p1}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    iget-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    const/4 v3, 0x1

    iput-boolean v3, v2, Lcom/xingbook/ui/ad;->y:Z

    iget-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    const/4 v3, -0x1

    iput v3, v2, Lcom/xingbook/ui/ad;->i:I

    iget-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    const/high16 v3, 0x4120

    iput v3, v2, Lcom/xingbook/ui/ad;->j:F

    iget-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    const/4 v3, 0x2

    const/4 v4, 0x0

    const/4 v5, -0x2

    const/high16 v6, -0x100

    invoke-virtual {v2, v3, v4, v5, v6}, Lcom/xingbook/ui/ad;->b(IIII)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    const/4 v3, 0x2

    sub-int v4, v9, v1

    add-int/lit8 v5, v8, -0x2

    add-int/lit8 v6, v9, 0xa

    invoke-virtual {v2, v3, v4, v5, v6}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    sub-int v2, v9, v1

    mul-int/lit8 v3, v10, 0x2

    sub-int/2addr v1, v3

    sub-int/2addr v1, v12

    div-int/lit8 v1, v1, 0x2

    add-int v9, v2, v1

    new-instance v1, Lcom/xingbook/ui/ad;

    invoke-direct {v1, p1}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    invoke-virtual {v1, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/16 v2, 0xb

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setId(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/high16 v2, 0x4120

    iput v2, v1, Lcom/xingbook/ui/ad;->j:F

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const-string v2, "\u786e\u8ba4"

    iput-object v2, v1, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/high16 v2, 0x4238

    mul-float/2addr v2, v7

    iput v2, v1, Lcom/xingbook/ui/ad;->c:F

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/4 v2, -0x1

    iput v2, v1, Lcom/xingbook/ui/ad;->b:I

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/4 v2, 0x0

    iput-object v2, v1, Lcom/xingbook/ui/ad;->f:Ljava/lang/String;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/16 v2, 0xcc

    const/4 v3, 0x0

    const/16 v4, 0x14

    invoke-static {v2, v3, v4}, Landroid/graphics/Color;->rgb(III)I

    move-result v2

    iput v2, v1, Lcom/xingbook/ui/ad;->i:I

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/16 v2, 0x11

    iput v2, v1, Lcom/xingbook/ui/ad;->d:I

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/4 v2, 0x0

    const/4 v3, 0x1

    const/4 v4, 0x1

    const/4 v5, 0x1

    const/4 v6, 0x1

    invoke-virtual/range {v1 .. v6}, Lcom/xingbook/ui/ad;->a(IIIII)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/4 v2, 0x0

    iput v2, v1, Lcom/xingbook/ui/ad;->l:I

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const v2, -0xff9934

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    sub-int v2, v8, v11

    add-int v3, v9, v10

    invoke-virtual {v1, v11, v9, v2, v3}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    add-int v1, v3, v12

    iget-object v2, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    invoke-virtual {v2}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v2

    iput-object v2, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    iget-object v2, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    invoke-virtual {v2, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    const/16 v3, 0xc

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/ad;->setId(I)V

    iget-object v2, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    const-string v3, "\u53d6\u6d88"

    iput-object v3, v2, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    iget-object v2, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    const v3, -0xcc33cd

    iput v3, v2, Lcom/xingbook/ui/ad;->i:I

    iget-object v2, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    sub-int v3, v8, v11

    add-int v4, v1, v10

    invoke-virtual {v2, v11, v1, v3, v4}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    new-instance v1, Lcom/xingbook/ui/ab;

    invoke-direct {v1, p1}, Lcom/xingbook/ui/ab;-><init>(Landroid/app/Activity;)V

    iput-object v1, p0, Lcom/xingbook/ui/ak;->q:Lcom/xingbook/ui/ab;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->q:Lcom/xingbook/ui/ab;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ab;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->q:Lcom/xingbook/ui/ab;

    invoke-virtual {v1, p0}, Lcom/xingbook/ui/ab;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/ui/ak;->q:Lcom/xingbook/ui/ab;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/ak;->addView(Landroid/view/View;)V

    invoke-static {p0, p1}, Lcom/xingbook/ui/af;->a(Landroid/view/ViewGroup;Landroid/app/Activity;)Lcom/xingbook/ui/af;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/ui/ak;->f:Lcom/xingbook/ui/af;

    return-void

    :cond_1
    sget v1, Lcom/xingbook/ui/t;->b:I

    goto/16 :goto_0
.end method

.method static synthetic a(Lcom/xingbook/ui/ak;)Lcom/xingbook/ui/ad;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    return-object v0
.end method

.method static synthetic a(Lcom/xingbook/ui/ak;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/ui/ak;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/ak;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/ui/ak;->m:Z

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    iput-object p1, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/ak;->n:Z

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ui/ak;)Landroid/widget/ProgressBar;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/ak;->l:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method private c()V
    .locals 2

    const/16 v1, 0x8

    iget-object v0, p0, Lcom/xingbook/ui/ak;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->c:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->d:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->e:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/ak;->n:Z

    return-void
.end method

.method static synthetic c(Lcom/xingbook/ui/ak;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/ui/ak;->c()V

    return-void
.end method

.method static synthetic d(Lcom/xingbook/ui/ak;)Lcom/xingbook/ui/ab;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/ak;->q:Lcom/xingbook/ui/ab;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/ui/ak;)Landroid/webkit/WebView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/ui/ak;->o:Ljava/lang/String;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    const-string v1, "<!DOCTYPE html><html><head><meta charset=\"utf-8\"/><title>\u51fa\u9519\u4e86</title></head><body><p>\u60a8\u6b63\u5728\u8bbf\u95ee\u9519\u8bef\u7684\u5185\u5bb9</p></body><html>"

    const-string v2, "text/html; charset=UTF-8"

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Landroid/webkit/WebView;->loadData(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public a(I)V
    .locals 2

    const/16 v1, 0x8

    if-nez p1, :cond_2

    iget-boolean v0, p0, Lcom/xingbook/ui/ak;->a:Z

    if-eqz v0, :cond_1

    iget-boolean v0, p0, Lcom/xingbook/ui/ak;->m:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    invoke-virtual {v0}, Landroid/webkit/WebView;->canGoBack()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->q:Lcom/xingbook/ui/ab;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ab;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    invoke-virtual {v0}, Landroid/webkit/WebView;->goBack()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/ak;->j:Lcom/xingbook/ui/ao;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/ak;->j:Lcom/xingbook/ui/ao;

    invoke-interface {v0}, Lcom/xingbook/ui/ao;->a()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/ak;->p:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/ak;->k:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->q:Lcom/xingbook/ui/ab;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ab;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    iget-object v1, p0, Lcom/xingbook/ui/ak;->p:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public b()V
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/ak;->n:Z

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/xingbook/ui/ak;->c()V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/ak;->a(I)V

    goto :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const/16 v1, 0x3e8

    if-lt v0, v1, :cond_1

    add-int/lit16 v0, v0, -0x3e8

    iget-object v1, p0, Lcom/xingbook/ui/ak;->j:Lcom/xingbook/ui/ao;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/ak;->j:Lcom/xingbook/ui/ao;

    invoke-interface {v1, v0}, Lcom/xingbook/ui/ao;->a(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/16 v1, 0xa

    if-eq v0, v1, :cond_2

    const/16 v1, 0xc

    if-ne v0, v1, :cond_3

    :cond_2
    invoke-direct {p0}, Lcom/xingbook/ui/ak;->c()V

    goto :goto_0

    :cond_3
    const/16 v1, 0xb

    if-ne v0, v1, :cond_0

    invoke-direct {p0}, Lcom/xingbook/ui/ak;->c()V

    iget-object v0, p0, Lcom/xingbook/ui/ak;->j:Lcom/xingbook/ui/ao;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/ak;->j:Lcom/xingbook/ui/ao;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lcom/xingbook/ui/ao;->a(I)V

    goto :goto_0
.end method

.method protected onLayout(ZIIII)V
    .locals 0

    return-void
.end method

.method public setJsObject(Ljava/lang/Object;)V
    .locals 2
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SetJavaScriptEnabled"
        }
    .end annotation

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/ak;->i:Landroid/webkit/WebView;

    const-string v1, "xingbook"

    invoke-virtual {v0, p1, v1}, Landroid/webkit/WebView;->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V

    :cond_0
    return-void
.end method
